home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / IRC / Bots⁄Utilities / ShadowBot1.0b8.sit / ShadowBot1.0b8 / Plugins / plugins.dat < prev    next >
Text File  |  1996-05-10  |  2KB  |  17 lines

  1. 'Plugins.dat file for ShadowBot.
  2. Q MAP DIE
  3. AXE EXEC axe 40
  4. CNET EXEC chatnet 99
  5. UNET EXEC undernet 99
  6. FILES EXEC files
  7. BETA EXEC beta
  8. END
  9. Lines begining with a ' are ignored.
  10. Anything between the begining of the file and the END statement (or the end of file) contains the data that will add commands to ShadowBot.
  11. Data syntax is:
  12. <command> <type> <args>
  13. <command>: When ShadowBot recieves a command and it does not match any of the commands hardcoded into it, it looks through this file to try and find references to the command. A match is found if the command (minus the command character) the user enters matches the first word on a line.
  14. <type>: the type is either MAP or EXEC (case IS significant). If the type is MAP, the bot will attempt to execute the command following MAP. For example, the line "Q MAP DIE" will map the Q command to DIE so that you can kill the bot by typing !q. You can still kill the bot with !die.
  15. If the type is EXEC, the bot will attempt to find a file in the plugins folder matching the next word on the line. The file name can NOT contain spaces. Optionally, you can set an accesslevel that is required to activate an EXEC command by entering the accesslevel (0-100) after the filename. Note that "OWNER EXEC owner" and "OWNER EXEC owner 0" are equivilant.
  16. Commented lines, begining with a ' and appearing between the first line of the file and the first END command are ignored. If the bot reads the END command, it immediately stops parsing the file. This way, you can put comments about the plugin after the script to speed processing without worry they might be interpreted.
  17.